package com.rui.service;

import com.rui.domain.Internship;
import com.rui.domain.InternshipLogger;
import com.rui.domain.InternshipVO;

import java.util.List;

public interface InternshipService {

    //添加实习信息
    boolean insertInternship(Internship internship);

    //根据学生id查询实习信息
    List<InternshipVO> findInternshipByStudentNumber(String stuNo);

    //根据id修改实习信息
    boolean updateInternshipById(Internship internship);

    //根据id删除实习信息
    boolean deleteInternshipById(String id);

    List<InternshipVO> findInternshipByJobNo(String jobNo, int year);

    List<InternshipLogger> findInternshipLogByJobNo(String jobNo, int year);

    List<InternshipVO> findAll(String grade);
}
